﻿namespace Cos.Module.Configuration
{
    using System;
    using System.Collections.Generic;

    using Cos.Core.Module;

    /// <summary>
    /// The Configuration Module Registration.
    /// </summary>
    public class ConfigurationModuleRegistration : ModuleRegistrationBase
    {
        /// <summary>
        /// Gets the name.
        /// </summary>
        public override string Name
        {
            get { return "Configuration"; }
        }

        /// <summary>
        /// Inits this instance.
        /// </summary>
        public override void Init()
        {
        }

        /// <summary>
        /// Gets the controller types.
        /// </summary>
        public override IEnumerable<Type> ControllerTypes
        {
            get { yield return typeof(ConfigurationController); }
        }

        /// <summary>
        /// Gets a value indicating whether this instance is UI module.
        /// </summary>
        /// <value>
        /// <c>true</c> if this instance is UI module; otherwise, <c>false</c>.
        /// </value>
        public override bool IsUiModule
        {
            get { return true; }
        }
    }
}